/**
 * @filename:LecturerTitleDao Course
 * @project constract  V1.0
 * Copyright(c) 2018  Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.repository;

import java.util.List;

import com.znufe.exam.viewmodel.admin.lecturertitle.LecturerTitlePageRequestVm;
import org.apache.ibatis.annotations.Mapper;
import com.znufe.exam.domain.LecturerTitle;

/**   
 *  
 * @Description:  讲师职称分类表——DAO
 * @Author:          
 * @CreateDate:   Course
 * @Version:      V1.0
 *    
 */
@Mapper
public interface LecturerTitleMapper {
	
	LecturerTitle selectByPrimaryKey(Integer id);
	
	int deleteByPrimaryKey(Integer id);
	
	int insertSelective(LecturerTitle lecturerTitle);
	
	int updateByPrimaryKeySelective(LecturerTitle lecturerTitle);
	
	List<LecturerTitle> queryLecturerTitleList(LecturerTitle lecturerTitle);

	List<LecturerTitle> titlePage(LecturerTitlePageRequestVm requestVm);

	LecturerTitle getTitleByName(String titleName);

	List<LecturerTitle> getAllTitle();
}
